package com.yunxi.account.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.account.pojo.AccountCreditVO;
import com.yunxi.core.web.LoginInfo;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 帐户授信额度配置 服务类
 * </p>
 *
 * @author
 * @since 2019-05-18
 */
public interface AccountCreditDubboService {

   AccountCreditVO getById(String id) throws InvocationTargetException, IllegalAccessException;

   void saveOrUpdate(List<AccountCreditVO> accountCreditVOList, LoginInfo loginInfo) throws InvocationTargetException, IllegalAccessException;

   void removeById(String id, LoginInfo loginInfo);

   PageInfo<AccountCreditVO> findPageByVO(AccountCreditVO accountCreditVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

   List listByVo(AccountCreditVO accountCreditVO);
}
